Skip to main content

RCS Template Message

Message object to be selected as Template Message.

S.No.AttributeRequiredDatatypeDetails
3.1.template_messageYesObjectSpecifying the message object as Template message.
3.1.1.channel_templateYesObjectContains the channel and template details.
3.1.1.1.RCSYesObjectSpecifying the channel
3.1.1.1.1.template_idYesStringTemplate identification
3.1.1.1.2.language_codeYesStringThe BCP-47 language code, such as en-US or sr-Latn. English is the default language_code.
3.1.1.1.3.parametersNoObjectRequired if the template has variables. Concrete values must be present for all defined parameters in the template.
{
"app_id": "01H0MFFJFX0YAWYA5XG4D3MRTA",
"recipient": {
"identified_by": {
"channel_identities": [
{
"channel": "RCS",
"identity": "919876543210"
}
]
}
},
"message": {
"template_message": {
"channel_template": {
"RCS": {
"template_id": "test_rcs_template",
"language_code": "en",
"parameters": {
"cust_name": "Rajesh",
"amount": "Rs. 5,000",
"discount": "30%”
}
}
}
}
}
}